﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="月质量异议明细表.aspx.cs" Inherits="syc.Sale.月质量异议明细表" %>

<html>
<head runat="server">
    <title></title>
 
</head>
<body>

     <script type="text/javascript" language="javascript" src="/common.js"></script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop">月份大宗辅料供应汇总表</div>
        <asp:Panel ID="Panel3" runat="server" CssClass="panel">
            年份：<asp:DropDownList ID="Year0" runat="server" AutoPostBack="true" 
                onselectedindexchanged="Year0_SelectedIndexChanged">
            <asp:ListItem>2009</asp:ListItem>
            <asp:ListItem>2010</asp:ListItem>
            <asp:ListItem>2011</asp:ListItem>
            <asp:ListItem>2012</asp:ListItem>
            <asp:ListItem>2013</asp:ListItem>
            <asp:ListItem>2014</asp:ListItem>
            <asp:ListItem>2015</asp:ListItem>           
            </asp:DropDownList>
           <span lang="zh-cn">&nbsp;&nbsp;&nbsp; 月份：</span><asp:DropDownList ID="Month" runat="server" 
                AutoPostBack="true" onselectedindexchanged="Month_SelectedIndexChanged">
                <asp:ListItem Value=1>1</asp:ListItem>
                <asp:ListItem Value=2>2</asp:ListItem>
                <asp:ListItem Value=3>3</asp:ListItem>
                <asp:ListItem Value=4>4</asp:ListItem>
                <asp:ListItem Value=5>5</asp:ListItem>
                <asp:ListItem Value=6>6</asp:ListItem>
                <asp:ListItem Value=7>7</asp:ListItem>
                <asp:ListItem Value=8>8</asp:ListItem>
                <asp:ListItem Value=9>9</asp:ListItem>
                <asp:ListItem Value=10>10</asp:ListItem>
                <asp:ListItem Value=11>11</asp:ListItem>
                <asp:ListItem Value=12>12</asp:ListItem>
            </asp:DropDownList>
            月&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button_Save" runat="server" Text="导出报表" CssClass="button" 
                UseSubmitBehavior="False" onclick="Button_Save_Click" />
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>

<asp:Panel ID="Panel4" runat="server" CssClass="panel3">
<table width="882" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="75"><div align="center"><h2 style="width: 969px"><%=this.Year0.SelectedItem.Text %>年<%=this.Month.SelectedItem.Text%>月份库房登记有质量异议明细表</h2></div></td>
  </tr>
</table>
    <div align="center">    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1" BorderColor="Black"  Width="88%"
                BorderStyle="Solid" BorderWidth="2px" 
            onrowcreated="GridView1_RowCreated" ShowFooter="True" 
            onrowdatabound="GridView1_RowDataBound">   
                <RowStyle Height="25px" />
                <HeaderStyle Height="20px" />      
            <Columns>
               <asp:TemplateField  HeaderText="序号" ItemStyle-Width="40px">
               <ItemStyle HorizontalAlign="Center" />
               <ItemTemplate >               
                <%#Container.DataItemIndex+1 %>
               </ItemTemplate>
               </asp:TemplateField>
                <asp:BoundField DataField="供货单位" HeaderText="供货单位" ItemStyle-Width="100px" />
                 <asp:BoundField DataField="套管N80数量" HeaderText="套管N80数量"  
                    ItemStyle-HorizontalAlign="Right">
                    <ItemStyle HorizontalAlign="Right" />
                </asp:BoundField>
                <asp:BoundField DataField="套管N80金额" HeaderText="套管N80金额" ItemStyle-Width="100px"
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="套管数量" HeaderText="套管数量"  
                    ItemStyle-HorizontalAlign="Right">
                    <ItemStyle HorizontalAlign="Right" />
                </asp:BoundField>
                <asp:BoundField DataField="套管金额" HeaderText="套管金额" ItemStyle-Width="100px"
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="油管数量" HeaderText="油管数量" 
                    ItemStyle-HorizontalAlign="Right">
                    <ItemStyle HorizontalAlign="Right" />
                </asp:BoundField>
                <asp:BoundField DataField="油管金额" HeaderText="油管金额" ItemStyle-Width="100px"
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="套管接箍料数量" HeaderText="套管接箍料数量" 
                    ItemStyle-HorizontalAlign="Right">
                    <ItemStyle HorizontalAlign="Right" />
                </asp:BoundField>
                <asp:BoundField DataField="套管接箍料金额" HeaderText="套管接箍料金额" ItemStyle-Width="100px"
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="油管接箍料数量" HeaderText="油管接箍料数量" 
                    ItemStyle-HorizontalAlign="Right">
                    <ItemStyle HorizontalAlign="Right" />
                </asp:BoundField>
                <asp:BoundField DataField="油管接箍料金额" HeaderText="油管接箍料金额" ItemStyle-Width="100px"
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="合计金额" HeaderText="合计金额" 
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                 <asp:BoundField DataField="合计含税金额" HeaderText="合计金额(含税)" 
                    ItemStyle-HorizontalAlign="center">
                    <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
            </Columns>
        
        </asp:GridView>
    
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
         ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" ></asp:SqlDataSource>
    
    </div>
</asp:Panel>
    </form>
    <script>        parent.hidesubmenu(true);</script>
</body>
</html>
